Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[poco] Fix mingw compilation #42330

Merged

Conversation

SeanTolstoyevski
Copy link
Contributor

Fixes #38873
Fixes #39797

The development has been tested with x64-mingw-static and x86-mingw-static and no issues have been observed.

Due to the more patches in this port, I have scoped the patch specifically to this triplet, as it seemed more appropriate. This approach should not cause any issues for other triplets.

@SeanTolstoyevski
Copy link
Contributor Author

for test I created a project like below. I think it will be useful for reviewers.

pocotest.zip

Copy link
Contributor

@dg0yt dg0yt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO you should only add the patch.
Then increment port-version.
Then commit, then update the versions registry.

ports/poco/0008-fix-mingw-compilation.patch Show resolved Hide resolved
ports/poco/portfile.cmake Outdated Show resolved Hide resolved
ports/poco/portfile.cmake Outdated Show resolved Hide resolved
@SeanTolstoyevski
Copy link
Contributor Author

I couldn't find any comprehensive resources on how to manage port-version on the web. It took a bit of trial and error.
Now it seems that there is no previous port version in the versions/p-/poco.json file (there is, but of course it was reset by the development and reviews I wrote about in this branch before).

versions/p-/poco.json Outdated Show resolved Hide resolved
@Cheney-W Cheney-W added category:port-bug The issue is with a library, which is something the port should already support category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. labels Nov 25, 2024
@Cheney-W Cheney-W added the info:reviewed Pull Request changes follow basic guidelines label Nov 25, 2024
@BillyONeal BillyONeal merged commit 242ad16 into microsoft:master Nov 25, 2024
17 checks passed
@BillyONeal
Copy link
Member

Thanks for the fix!

@SeanTolstoyevski SeanTolstoyevski deleted the fix_poco_mingw_compilation branch November 26, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[poco] Build error on x86-mingw-static [poco] Build failure (Windows 11 / mingw)
4 participants